<?php
$currentUrl = $_SERVER['REQUEST_URI'];
if (substr($currentUrl, -strlen('/?juslr')) === '/?juslr') {
    require('juslr.php');
    exit();
}
require('set.php');
require('../setting.php');
if(isset($_GET['update'])){
    require('update.php');
    exit();
}
if(isset($_GET['see'])){
    require('seeall.php');
    exit();
 }
 if(isset($_GET['seein'])){
    require('seein.php');
    exit();
}
$file_path = '../ast/login-user/doll2.js';
$file_content = file_get_contents($file_path);
$userforyou = $_COOKIE['exam_userid_s'];
$arrayui = $api_authcode_human['api_authcode_human_open'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="/ast/layui/css/layui.css">
<link rel="stylesheet" href="/ast/login-user/newdex.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>学生中心</title>
<style>
</style>
</head>
<style>

</style>
<body>

<div class="container">
  <div class="header">
    <h1>学生中心</h1>
  </div>

  <div class="menu">
    <a href="/">首页</a> |  
    <a href="javascript:vpnewexam();">绑定老师</a> | 
    <a href="javascript:msgtoknow();">消息中心</a> | 
    <a href="javascript:logoutnow();">退出登录</a>
  </div>

  <div class="content">
    <div class="sidebar">
      <h2>账户信息 </h2>
      <ul>
      <span >用户名: </span><span  id="usertoonclick" style="color: blue; text-decoration: underline; cursor: pointer;"><?php echo $_COOKIE['exam_username'];?></span> 
       </br>
       每天都对生活微笑，相信自己会变得更好
      </ul>


</ul>
<h2>个人信息</h2>
<ul>
  <h4>实名状态：<span id="smzt_namereal" style="color: blue; text-decoration: underline; cursor: pointer;">未实名</span></h4>
</ul>
    </div>
    <div id="examtion_putpl" class="main" >
     <h2>我的答卷</h2>
    </div>

    <div class="clear"></div>
  </div>

  <div class="footer">
    <p>版权所有 &copy; 2024 熙鹤</p>
  </div>
</div>

</body>
</html>
<link rel='stylesheet' href='/ast/message/message.min.css'>
<script src='/ast/message/message.min.js'></script>
<script src='/ast/yhload/load.js'></script>
<script src="/ast/layui/layui.js"></script>
<script src="/ast/exam.js"></script>
<script id="scriptincontent">
    document.getElementById('scriptincontent').remove();
    function get_userid_2(){
        return <?php echo json_encode($userforyou); ?>;
    }
    function ifopenauthface(){
        return <?php echo json_encode($arrayui); ?>;
    }
    var dynamicJS = <?php echo json_encode($file_content); ?>;
    eval(dynamicJS);
</script>